Thsi is not needed anymore as the ``while`` will stop the loop