code: @Override
     public void close()
     {
        if (isShutdown.getAndSet(true)) {
           return;
        }
  
        HikariPool p = pool;
        if (p != null) {
           try {
              LOGGER.info("{} - Shutdown initiated...", getPoolName());
              p.shutdown();
              LOGGER.info("{} - Shutdown completed.", getPoolName());
           }
           catch (InterruptedException e) {
              LOGGER.warn("{} - Interrupted during closing", getPoolName(), e);
              Thread.currentThread().interrupt();
           }
        }
     }
docs: Shutdown the DataSource and its associated pool.