Closing the right socket.