avoid double-close of uv handles at exit

If uv__run_closing_handles isn't called between closing a handle and
uv_atexit_hook then uv_atexit_hook will attempt to close the handle
again, causing an assertion failure.