sys.exit() needs to be called.