try:
            if not mark_success:
                context = self.get_template_context()

                task_copy = copy.copy(task)