Clear the EntityManager after purging or resetting
Probably doesn't matter in this demo but it's the right thing to teach.