Curator 110

Fix for CURATOR-110
This would be better as a utility ala RetryLoop.callWithRetry(). I can see this pattern getting used in other places.