@Override
    public void shutdown() {
        for (Entry<String, DataSource> e : conCache.entrySet()) {
            try {
                DataSources.destroy(e.getValue());
            }
            catch (SQLException e1) {
                if (logger.isEnabled(Level.WARN)) {
                    logger.log(Level.WARN, "Unable to shutdown connection to db " + e.getKey());
                }
            }
        }
        conCache.clear();
    }