Break an infinite loop