When running a clustered test environment on a single local machine with multiple virtual IPs and using multiple cargo containers none of the containers would stop. I noticed that in the doStop method of the JBoss containers it has some arguments that get passed in that weren't working for us. In particular it always calls localhost and we needed to pass in the HOSTNAME. In addition it was throwing an error on the shutdown command=:shutdown with this in the logs 'command=:shutdown' is not a valid operation name.' I'm not sure this would be universal to the other JBoss containers, but this code snippet is what is working for us.