code: def stop_all_tasks(self):
      active_tasks = list(self._active_tasks.keys())
      for task_id in active_tasks:
          self.stop_task(task_id)
  
file_path: mindsdb/mindsdb/interfaces/tasks/task_monitor.py
imports: import datetime
  import os
  import socket
  import time
  import sqlalchemy
  from mindsdb.interfaces.storage import db
  from mindsdb.utilities import log
  from mindsdb.utilities.config import Config
  from .task_thread import TaskThread
label_desc: Use image node_id 3 for calling the TaskMonitor obj's underlying member method code with example usage: obj.stop_all_tasks() without return types