public boolean beat() {
      try {
        if (live) {
          IdeaWatchdog watchdog = getWatchdog();
          return watchdog.ping();
        }
      }
      catch (Exception ignore) {
        live = false;
        stopBeat();
      }
      catch (Throwable t) {
        live = false;
        stopBeat();
        LOG.error(t);
      }
      return false;
    }
public boolean beat()