added mutexes for protection against sending to dropped clients