Accessing persistenceManager after isActive() check to make sure we do
not run into an NPE.