I usually don't do a infinite loop with cycles. Once you've got your basic steps, you can copy/paste those keys to continue the walk as long as you need and then simply continue to key it to change his motion.