private void runBlocking()
      throws Exception {
    try {
      start();
      server.join();
    } finally {
      server.destroy();
      log.info("Server terminated.");
    }
  }
Runs the server and waits for it to finish.

@throws Exception if the server could not be successfully started.
samza-rest/src/main/java/org/apache/samza/rest/SamzaRestService.java