Write queue after connect windows

Until there is a successful write, it just puts it immediately in the pending queue. So if all requests fail, it puts them all immediately in the pending queue which then gets handled.