variable "WaitingforClients" to static