serial port read function cannot be interrupted. poll every 1 second