void cancel() {
      cancelled = true;
    }
Runnable class that collects, publish account stats to mysql database and local backup file.
ambry-server/src/main/java/com/github/ambry/server/StatsManager.java