Fix problem with occasional blocking read in ReadAheadBufferedStream - will need another approach