code: protected synchronized void releaseAllConnectionPools() {
  
      for (HikariDataSource pool : pools.values()) {
  
        if (pool != null) {
          logger.info("Releasing pool: {}...", pool.getPoolName());
          pool.close();
        }
      }
    }
docs: Closes all connection pools