def stop(self):
        """
        Terminate the WAMP session

        .. note::
            If the :meth:`AutobahnSync.run` has been run with ``blocking=True``,
            it will returns then.
        """
        if not self._started:
            raise NotRunningError("This AutobahnSync instance is not started")
        self._callbacks_runner.stop()
        self._started = False
Terminate the WAMP session

        .. note::
            If the :meth:`AutobahnSync.run` has been run with ``blocking=True``,
            it will returns then.