The Symfony bundle comes with an integration for Guzzle that allows automatic
retry of failed requests.
First, you need to install the CsaGuzzleBundle.
Then you must enabled the bridge using the guzzle key:
Finally, just add the retries option in the configuration of your client: