public boolean shouldRetry() {
        return retriesRemaining > 0;
    }
Sleep for a exponentially back off time
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/zookeeper/RetryCounter.java