Use usual exit handling rather than custom machinery