[Bug 2988] ERROR_IO_PENDING when reading from serial port