'Closes our socket connection. This is a pass-through for our socket\'s
:func:`~stem.socket.ControlSocket.close` method.'

def close(self):

    self._socket.close()
    for t in self._state_change_threads:
        if (t.is_alive() and (threading.current_thread() != t)):
            t.join()
