Add explicit exit