Of course, you might try to fix the underlying problem.
I’ll hazard a guess you are hitting your Modbus device too often with disconnect/reconnects.
Try holding the TCP connection open longer, try increasing time between reconnects
Modbus binding default settings should be considered “get you started”, not optimal for any given setup.