sruehl commented on code in PR #1376: URL: https://github.com/apache/plc4x/pull/1376#discussion_r1477996759
########## plc4j/drivers/firmata/src/main/java/org/apache/plc4x/java/firmata/readwrite/protocol/FirmataProtocolLogic.java: ########## @@ -71,12 +71,22 @@ public void onConnect(ConversationContext<FirmataMessage> context) { LOGGER.debug("Sending Firmata Reset Command"); FirmataMessageCommand resetCommandMessage = new FirmataMessageCommand(new FirmataCommandSystemReset()); context.sendRequest(resetCommandMessage) + .onTimeout(e -> { + LOGGER.info("Timeout during Connection establishment, closing channel..."); Review Comment: is the closing implicit or is there missing a close call here? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org