Right now it just freezes if the socket connects to an endpoint that DNE. Should be a timeout or something to throw an error.