'Set the state of the task to :const:`ABORTED`.
Abortable tasks monitor their state at regular intervals and
terminate execution if so.
Warning:
Be aware that invoking this method does not guarantee when the
task will be aborted (or even if the task will be aborted at all).'

def abort(self):

    return self.backend.store_result(self.id, result=None, state=ABORTED, traceback=None)
