'Archive even on task abort, except if the abort has happened before session
was started.'

def on_task_abort(self, task, config):

    if (task.session is not None):
        self.on_task_learn(task, config)
