Fix #16675: add delay in EC2 API call retry.
Merge pull request #16680 from PierreF/issues_16675

Fix #16675: add delay in EC2 API call retry.