public void stopAndAwaitConnectors(Collection<String> ids) {
        stopConnectors(ids);
        awaitStopConnectors(ids);
    }
Stop asynchronously a collection of connectors that belong to this worker and await their
termination.

@param ids the collection of connectors to be stopped.
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Worker.java