Modbus TCP timeout

I’m trying to use an Advantech Adam-6060 with modbus but hassio almost always lists the entity as unavailable. The log shows “Pymodbus: Modbus Error: [Input/Output] [Errno 104] Connection reset by peer”. While debugging with Wireshark I see it queries just fine but because it’s too slow (scan_interval is set to 1) the connection times out. Trying it on my PC with modpoll I get the same behaviour when the interval is set to more than 2300ms

I don’t really need 1s poll times, but it would be nice if hassio can just close the connection before it times out. It’d also be nice if the successfully polled values would be shown since there are no problems with the polling itself.

modbus:
  - name: "adam"
    type: tcp
    host: 10.42.0.60
    port: 502
    close_comm_on_error: true
    delay: 0
    binary_sensors:
      - name: "pir"
        address: 1
        scan_interval: 1
        slave: 1
        device_class: "occupancy"