Next time someone asks you how to fix an infinite loop, remember this commit