Adds retry limit and cooldown.