implement retry on failed api calls