When the serial port cable is disconnected, close/open the serial port again