use java-retry framework available off maven central