Stop runner (all iterations) from script

I use Collection Runner with 1000 iterations. I want to be able to stop (short circuit) from a test script. If I do postman.setNextRequest(null) only stops current iteration and moves to next iteration but I want to stop runner completely.