In reply to saritr:
If you are not okay with error message in test, code in test:
virtual task main_phase(uvm_phase phase);
super.main_phase(phase);
wait(my_condition_is_true) begin
foreach(env.my_agent[i])
env.my_agent[i].sequencer.stop_sequences();
end
`uvm_info(get_full_name(), "I kill my test, because ...", UVM_NONE)
endtask
Or if you are okay with error message in test, add +UVM_MAX_QUIT_COUNT=1 in SIM_OPTS.