More settings of eof flag on Streams