ensure we're setting exit_on_eof correctly