Write queue after connect windows

Yeah, you could specify that next time like totally immediately right in the first comment.