pub async fn init_with_retry<T, F, Fut>(f: F) -> Result<T>where F: FnMut(usize) -> Fut, Fut: Future<Output = Result<T>>,
Retry an async init operation once (2 total attempts) with tracing logs.