Add re-tries in HTTP requests for robustness