def METHOD_NAME(self, tag=None):
    """
    Remove Tasks from managed tasks list
    """
    self.log.debug("Entry.")
    with self._lock:
        for taskID, task in list(self._tasks.items()):
            if not tag or tag in task.getTags():
                self._tasks.pop(taskID, None)
    self.log.debug("Return")