Remove infinite loop.