global flag for server cleanup