Fix to output white if the connection becomes bad in the middle of reading.