@Override
  public void stop() throws UnableToControlProcessException, ConnectionFailedException, IOException,
      MBeanInvocationFailedException {

    try {
      mbeanController.stop();
    } catch (IOException | MBeanInvocationFailedException | ConnectionFailedException
        | UnableToControlProcessException e) {
      fileController.stop();
    }

  }
Process controller that attempts to use the MBeanProcessController but
falls back on FileProcessController if that fails
geode-core/src/main/java/org/apache/geode/internal/process/MBeanOrFileProcessController.java