Make it panic (and drop core) if it gets into an infinite loop.