global.abort is probably more appropriate in situations like that.