/break breaks out of the while loop, it does not halt the code like /halt or /return
If you want the code to keep running, you can keep using /break but set a bool variable when your condition is true and check that this variable is not set prior checking if (%kick)..