Corrected passing of argument retry_schedule