Handle unexpected EOF error condition