'Terminate the socket with extreme prejudice.
Closes the underlying socket regardless of whether or not anyone else
has references to it. Use this when you are certain that nobody else
you care about has a reference to this socket.'

def nuke_from_orbit(self):

    if self._real_socket:
        self._real_socket.close()
    self._real_socket = None
    self.close()
