In reply to meir:
You will need to modify your Verilog testbench to raise_objection() at the beginning of the test, and then replace the call to $finish with a drop_objection(). I'm not sure if you can raise an objection to ending a phase before that phase starts, so you may want to just use the run_phase.