Sometimes you need to use `os._exit` if you're trapping exceptions. In this case, I was wrong about having to do that.