Can't get a loop to stop

Hey @mdsmith1! I'm guessing this topic is a duplicate of the one over here - is that right?