public void triggerStop() {
        stopping = true;
        stopRequestedLatch.countDown();
    }
This will stop any further retries for operations.
This will also mark any ongoing operations that are currently backing off for retry as failed.
This can be called from a separate thread to break out of retry/backoff loops in
{@link #execAndRetry(ProcessingContext, Operation)}
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/errors/RetryWithToleranceOperator.java