Reraise exception if other socket error

If a socket error occurs besides econnrefused, just reraise it.