Write queue after connect windows

why would req be NULL?