Backtrack with infinite loop.