The sleep is hardcoded to be between JMX refresh rate and 2*JMX refresh rate. Should be fine every time. I guess it could be a wait until, but I'd still want the timer in there to slow down the retry rate.