Write queue after connect windows

Because asserts are no-ops in release builds.