mention explicitly that hIsEOF may block