Remove call to stdin.eof() from examples

Reader.eof() no longer exists.