Add retry support to Rapi clients