presto-main/src/main/java/io/prestosql/operator/DriverContext.java/DriverContext/failed
class DriverContext:    public void failed(Throwable cause)
    {
        pipelineContext.failed(cause);
        finished.set(true);
    }