Get jl_uv_close working again by checking uv_is_closing at the top and closing when a handle isn't writable or closing
Use JULIA_CB to cache isopen