rename em.closeAll to em.closeFactory