if you really want to break the loop at a certein point you can do that like shown in the picture below.
(You can add a break condition in the advanced node settings of the loop input node.)
So the loop is executed until the break condition becomes true and then the loop breaks. It will be executed again and again and break if condition is met.
If you really want a single execution of the code you should consider using a subprogram group.