Write queue after connect windows

This would allow us to connect, write and shutdown without a need for a callback!

Everything would be queued and we wouldn't need callbacks.

Though making shutdown work correctly in this scenario will need an additional patch. I don't think it belongs in here, because this one is already so fat.