Write queue after connect windows

That freaking order, you are right.