moved retry logic into nuodb practices project that is separately reusable