Change the socket to non-blocking mode.