Allow subclasses to override exit correctly
Merge pull request #28 from rnewson/override_exit

Allow subclasses to override exit correctly