Breaks the loop