only end ibis if we have a clean exit