private void failOnStart(final Throwable cause) {
    if (cache != null) {
      cache.close();
      cache = null;
    }
    if (process != null) {
      process.stop(deletePidFileOnStop);
      process = null;
    }

    INSTANCE.compareAndSet(this, null);

    running.set(false);
  }
A helper method to ensure the same sequence of actions are taken when the Server fails to start
caused by some exception.

@param cause the Throwable thrown during the startup operation on the Server.
geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java