B-50264 fixing spock test stability issues

Fixing the stability of the spock tests.  All are passing with this sleep between the deproxy shutdown and before the next test is run.

Also, added in dynamic port generation for the JMX port (to minimize issues with port collisions)