It's sys.exit, not os.exit