add rescue EOFError