Add thread to read serial port.