close EMF when the app demise

Change-Id: Iecafb292668c43022ceef0207f1337553b1fafa6