Close the original socket.