Fix runner behaviour with exceptions