diff --git a/uModbus/tcp.py b/uModbus/tcp.py index 9116651..7efcc3c 100644 --- a/uModbus/tcp.py +++ b/uModbus/tcp.py @@ -145,8 +145,6 @@ def _accept_request(self, accept_timeout): return None try: r = self.handle_request(req_uid_and_pdu) - self._client_sock.close() - self._client_sock = None return r except ModbusException as e: # print("Modbus request error:", e)