@Override
    public void close() throws Exception {
        // Set the cache to "closed" so no new connections can be requested.
        closed.set(true);

        // Tell all connections to close themselves.
        connectionContainers.forEach((connectionString, connectionContainer) -> {
            connectionContainer.close();
        });
    }
Removes a given connection from the cache (Should only be used in order to remove somehow broken connections).
@param url url of the connection that should be removed.
plc4j/tools/connection-cache/src/main/java/org/apache/plc4x/java/utils/cache/CachedPlcConnectionManager.java