What is the scope of forever loop in say main_phase?

In reply to Maya Sasidharan:

Any processes created during a specific phase will be terminated when that phase is terminated. This is one reason that you should use only the run_phase() and not use any of the other phases.