private void clearLocksAndHB() {
    lockMgr.clearLocalLockRecords();
    stopHeartbeat();
  }
@param delay time to delay for first heartbeat
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java