Nonblocking sockets need to select while writing