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

PR for issue #16675 

I've added a delay just before *retrying* (so no delay if first attempt success).
I've tried to track all retry present in ec2.py for which there is no delay.