presto-thrift/src/main/java/io/prestosql/plugin/thrift/ThriftIndexPageSource.java/ThriftIndexPageSource/cancelQuietly
class ThriftIndexPageSource:    private static void cancelQuietly(Future<?> future)
    {
        if (future != null) {
            future.cancel(true);
        }
    }