public boolean isAlive() {
    synchronized (HostStatSampler.class) {
      return statThread != null && statThread.isAlive();
    }
  }
Tell this service's main thread to terminate.
geode-core/src/main/java/org/apache/geode/internal/statistics/HostStatSampler.java