Add ability to set a cooldown time between retries