fix cron_with_retry