code: def start_task(self, method, *args, **kwargs):
          
          thread = threading.Thread(target=method, args=args, kwargs=kwargs)
          thread.is_daemon = False
          thread.start()
          self.threads.append(thread)
docs: Start a task in a separate thread
  
              Args:
                  method: the method to start in a separate thread
                  args: Accept args/kwargs arguments