Use retry() for callbacks that may randomly fail

Use retry() for callbacks that may randomly fail

.@laravelphp out here helping me again, with its helpers!

I was hitting a shaky API that sometimes failed.

Here, the retry function tries the callback 3 times, with a 2 second interval in-between retries.

We're writing a book, you can get it for free here.