use mutexes to serialize updates of server rules and client lists