public void exit() {
    stop = true;
  }
Check to see if a job is more than maxage old, and delete it if so.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/ZooKeeperCleanup.java