private void closeCacheIfNeed() {
        ICache lastCache = CacheUtils.getCache();
        if (Objects.nonNull(lastCache)) {
            // close last cache.
            LOG.info("close the last cache {}", lastCache);
            lastCache.close();
        }
    }
close the cache if you need.
shenyu-plugin/shenyu-plugin-cache/shenyu-plugin-cache-handler/src/main/java/org/apache/shenyu/plugin/cache/handler/CachePluginDataHandler.java