presto-main/src/main/java/io/prestosql/sql/planner/PlanOptimizers.java/PlanOptimizers/destroy
class PlanOptimizers:    @PreDestroy
    public void destroy()
    {
        ruleStats.unexport(exporter);
        optimizerStats.unexport(exporter);
    }