Add mutex around clients collection, fix path to socket.