If a single video has a consistent issue downloading, you'll always get stuck on it.  That was one of the goals in the failed_video_ids list.  I don't see that this code handles that case.