Account for EOFError condition