Made the Persistence Network threadsafe.