Write queue after connect windows

Refer to https://github.com/joyent/libuv/pull/1487/files#r18003994