[native] Retry feature flags call
Summary:
Retry feature flags call. If number of tries is exceeded, rethrow an error.
Depends on D8652
Test Plan: Add console logs and simulate failed requests - the requests should be retried up to numberOfTries times with delays.
Reviewers: kamil, bartek
Reviewed By: bartek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D8679