Shouldn't the fetchPersistentState thread-local be used here?