add serialport THREAD_READ option