void rescheduleNextHeartbeat(long initialDelayMs) {
        if (this.heartbeatFuture != null) {
            this.heartbeatFuture.cancel(false);
        }
        this.heartbeatFuture = this.executor.scheduleAtFixedRate(heartbeat,
            initialDelayMs, HEARTBEAT_DELAY_MS, TimeUnit.MILLISECONDS);
    }
Reschedule the heartbeat runnable.

@param initialDelayMs        The initial delay to use.
trogdor/src/main/java/org/apache/kafka/trogdor/coordinator/NodeManager.java