Write queue after connect windows

else assert.