return the socket on execute