Implement the retriable resiliency pattern