@staticmethod
def _clean_task_environment(task_id=None, task_name=None, exc=None):
    """Cleans the environment for this task.

        Args:
            task_id: string of task id.
            task_name: string of task name.
            exc: The exception raised by the task, None if the task succeeded.
        """
    pass
