Need to end loop immediately and not read routines

By each time the experiment runs do you mean in each block?

I would do this with an outer loop than runs 5 times.

Within the outer loop you have the coin flip

Then a loop around your first section with nReps = coin_flip
Then a loop around your second section with nReps = 1
Then a loop around a repeat of your first section with nReps = 1- coin_flip