How to run different task forever inside uvm phase

In reply to amarkishor:

Could you please show the code of your run_phase.