Global retry settings for terraform providers download error

Are there any settings that we can tune to alleviate terraform provider downloading errors?
Recently we’ve encountered quite a few provider downloading issues, due to network glitches or AWS/GCP environment issues.

What’s the default handling for provider download errors, say, if retries count is 3, then we can change it to 5, or even 10, to better handling temporarily issue, Thanks,