_exit() is not needed anymore, use sys.exit()