if a timeout occurs on the serial port, do not close and reopen the port