removed CONSECUTIVE_FAIL_THRESHOLD