you may try these:
1. Add one more logic (define as boolean variable), then OR this variable with the original Boolean switch you used in subvi, then main vi can change the new added variable which is defined as local or global variable.
2. Change the subvi while loop as state machine, or use other Synchronization techniques like notifier