Write queue after connect windows

two step it is i guess