Getting a new entity manager on tear down.