fix a problem while reconnecting after the EtherCAT connection has been lost