improved close rollback and commit for all EntityManager and
EntityTransaction in UserTransactionImpl class respectively