Try to debug loop termination.