@SuppressWarnings("BusyWait")
  private void runDetectLoop() {
    while (!myStopped) {
      final long pauseDuration = checkFreeze();
      if (pauseDuration > 0L) {
        try {
          Thread.sleep(pauseDuration);
        }
        catch (InterruptedException ignored) {
        }
      }
    }
  }
@SuppressWarnings("BusyWait")
  private void runDetectLoop()