code: public void unregisterPool(ManagedConnectionPool mcp)
     {
        synchronized (registeredPools)
        {
           registeredPools.values().remove(mcp);
        
           if (registeredPools.isEmpty()) 
              interval = Long.MAX_VALUE;
        }
     }
docs: Unregister pool instance for idle connection cleanup
  @param mcp pool instance