Don't spin while waiting for the socket to connect.
Merge pull request #26 from kristaps/ConnectNoSpin

Don't spin while waiting for the socket to connect.