Write queue after connect windows

If we don't end up using handle-<connect_req in this patch, then we shouldn't add it.