Modify the infinite loop function
Modify the infinite loop function

Don't use `while True` b/c BooleanReplacer breaks this function's
test. This is a bit ugly but until Issue #97 is fixed there is
no other way around it.

sixty-north/cosmic-ray