In this and many other cases (all loops?) you are not honoring the value of `stop`.