Write queue after connect windows

This test feels wrong, what if nbufs is 3?