Closing socket