Ahhh well, this is an entirely different scenario! Now we have 5 buttons and the loop is inside a subVI!
If the front panel of the subVI is visible, users could press the stop button there.
In a more general case, use two independent while loops in the main VI, one to run the user interface and one to lauch the subVIs. Now you can communicate with the subVI using e.g. notifiers, "functional globals" or global variables, etc..