In reply to sai_pra99:
You need to fix the run() task in your environment. If the component is never expected to finish, such as the driver/monitor/scoreboard, you want to call the component’s run() task from a fork/join_none block. If you are expecting the component to finish, you will call it from a fork/join block. If there is only one task call inside a fork/join block, don’t use fork/join.