Actually now that I think about it, shutdown may still fail in the web profile if it has no JMX. If this is the case, the only thing to do is to forcefully terminate the process. This will require looking into.
We currently don't do anything to assist the minimal configuration from terminating... and I'm not sure what we can do to properly shut down the web configuration.