geneross opened a new issue, #1290: URL: https://github.com/apache/plc4x/issues/1290
### What happened? I've faces with a situation when scheduled earlier TriggeredScraperTask has completed after getting TimeoutException in execution of PlcReadRequest https://github.com/apache/plc4x/blob/8f914109bb6047af35dc909d3851273e17277b2e/plc4j/tools/scraper/src/main/java/org/apache/plc4x/java/scraper/triggeredscraper/TriggeredScraperTask.java#L126-L135 Changing code to ```java plcReadResponse = readRequestBuilder .build() .execute() .orTimeout(requestTimeoutMs, TimeUnit.MILLISECONDS) .get(); ``` improves the situation. Read request still complete exceptionally and LeasedPlcConnection sets `invalidateConnection` flag so leased connection on close return connection to the connection container with request to invalidate cached connections. ### Version v0.12.0 ### Programming Languages - [X] plc4j - [ ] plc4go - [ ] plc4c - [ ] plc4net ### Protocols - [ ] AB-Ethernet - [ ] ADS /AMS - [ ] BACnet/IP - [ ] CANopen - [ ] DeltaV - [ ] DF1 - [ ] EtherNet/IP - [ ] Firmata - [ ] KNXnet/IP - [ ] Modbus - [X] OPC-UA - [ ] S7 -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org