Write queue after connect windows

uv_is_closing already checks for UV_HANDLE_CLOSED.