Sample code that shows how to auto retry requests upon failure.