Threaded timer added for unplugging of serial device/loss of connection event.