introduced eof_close