Write queue after connect windows

Drop the `} else {`. The previous `if` is returning.