presto-main/src/main/java/io/prestosql/connector/ConnectorManager.java/ConnectorManager/dropConnection
class ConnectorManager:    public synchronized void dropConnection(String catalogName)
    {
        requireNonNull(catalogName, "catalogName is null");

        catalogManager.removeCatalog(catalogName).ifPresent(catalog -> {
            // todo wait for all running transactions using the connector to complete before removing the services
            removeConnectorInternal(catalog);
            removeConnectorInternal(createInformationSchemaCatalogName(catalog));
            removeConnectorInternal(createSystemTablesCatalogName(catalog));
            handleResolver.removeCatalogHandleResolver(catalogName);
        });
    }