use a slim way of stopping execution