Use separate mutex for writing label pairs.