Fix timing issue with jmx_verify test

Replace use of a 40 second sleep in the test_supervision test case
with a wait condition to better handle variances in the time it takes
to progress through 10 retry attempts.
It doesn't really matter, it's just a test case function called from within `confirm`. The final return of `confirm` is `pass` is all goes well.