Fixed SerialStream driver blocking while waiting for characters to be received instead of returning EOF.