code: public void shutdown(boolean restart) throws Exception {
          final ModelNode request = createRequest("shutdown", Address.root());
          request.get("restart").set(restart);
          final ModelNode response = execute(request);
          if (!isSuccess(response)) {
              throw new FailureException(response);
          }
          return;
      }
docs: Invokes the management "shutdown" operation that kills the JVM completely with System.exit.
  If restart is set to true, the JVM will immediately be restarted again. If restart is false,
  the JVM is killed and will stay down.
  Note that in either case, the caller may not be returned to since the JVM in which this call is made
  will be killed and if the client is co-located with the server JVM, this client will
  also die.
  
  NOTE: even if this method returns, the client is unusable since the server side
  will shutdown the connection. You will need to throw away this object and rebuild
  another one with a newly reconnected {@link #getModelControllerClient() client}.
  
  @param restart if true, the JVM will be restarted
  @throws Exception any error