Disconnect from the event stream

def disable(self):
        """Disconnect from the event stream"""
        with self._lock:
            if self._event_listener_thread is not None:
                self._event_listener_thread.stop()
                self._event_listener_thread = None