Add retry with exponential backoff
Add mocked test for retry