Ensure that agent can never fail

Agent fails from time to time in our prod environnement. So here is a small fix to prevent that.

-David