global variable in python server,sys.exit()