Actually close the socket.