Enable clean exit