@Override
    public void stop(String reason) {
      LOG.info("Stopping due to: " + reason);
      this.stopped = true;
      sleeper.skipSleepCycle();
    }
Basic server process for RPC authentication testing
hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/TestTokenAuthentication.java