closing EM on finally block