Write queue after connect windows

That's not correct, because if the request succeeds the callback is queued, but it fails with an unexpect error we'd run the callback immediately, thus breaking the order guarantee.

I know this fix opened the can of worms, but since we are here, let's work to make it right :-)