presto-thrift/src/main/java/io/prestosql/plugin/thrift/ThriftPageSource.java/ThriftPageSource/close
class ThriftPageSource:    @Override
    public void close()
    {
        if (future != null) {
            future.cancel(true);
        }
    }