code: def __init__(self):
      self._active_tasks = {}
  
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 1 to create a new TaskMonitor object  with example: obj = TaskMonitor()