Revert "Cache local entity manager"

This reverts commit a7c9ad801ad9f99f032ccf046cb901bdbda91016.

We can only reuse the entity manager when we go back to CMT