presto-main/src/main/java/io/prestosql/execution/TaskStateMachine.java/TaskStateMachine/abort
class TaskStateMachine:    public void abort()
    {
        transitionToDoneState(TaskState.ABORTED);
    }