renamed fail_repeat to fail_repeat_delay