Add a -crash option to debug infinite loops.