when connect, EINPROGRESS check in nonblocking socket