code: private final void stopHeartbeat() {
  
          if (timerTask != null && !HsqlTimer.isCancelled(timerTask)) {
              HsqlTimer.cancel(timerTask);
  
              timerTask = null;
          }
      }
docs: Cancels the lock heartbeat task.