code: public static void shutdown() {
          try {
              Connections.shutdown();
          } catch (final Exception e) {
              LOGGER.log(Level.ERROR, "Shutdown redis connection pool failed", e);
          }
      }
docs: Shutdowns redis cache.