unix: Fail gracefully when calling uv_shutdown twice

Before this, one of the requests was left as a ghost in the system. See https://github.com/JuliaLang/julia/issues/5793