sys.exit() is evil