code: public void shutdown() {
          System.out.println("Stopping down mesos driver");
          Protos.Status status = mesosSchedulerDriver.stop();
          isShutdown.set(true);
      }
docs: Shuts down the Mesos driver.