removed closing of PM in the entitiesDb to solve slowing of tests