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:
tolerance: guzzle: true
Finally, just add the retries option in the configuration of your client:
csa_guzzle: clients: my_client: config: retries: 2