Add semaphores around clientList.