[PATCH] don't do exit_io_context() until we know we won't be doing any IO