Write queue after connect windows

Better define 2 tests, one for TCP and one for pipes, I'd rather see them fail individually.