Fix: cluster.stop when child unmanaged

Note that DynamicWebAppClusterTest.groovy changing to java is just that - no other modifications to the code.