code: def stop(self):
      logger.info(f"Task stopping: {self.object_type}.{self.object_id}")
  
      self._stop_event.set()
  
file_path: mindsdb/mindsdb/interfaces/tasks/task_thread.py
imports: import traceback
  import threading
  from mindsdb.utilities.context import context
  from mindsdb.interfaces.storage import db
  from mindsdb.utilities import log
  from mindsdb.interfaces.triggers.trigger_task import TriggerTask
  from mindsdb.interfaces.chatbot.chatbot_task import ChatBotTask
label_desc: Use image node_id 3 for calling the TaskThread obj's underlying member method code with example usage: obj.stop() without return types