A socket that is "at rest" (no pending reads or writes) is by definition
"writable", and using select() to check for writability will return TRUE
for the socket without any delay. Therefore each active connection must
be checked for pending data to write before being added to the write
check set. This fixes failure to yield to other tasks due to a busy
loop.