nonblocking socket, connect, time_wait jacket around select