Added support for closing emitters so that a System::Shutdown event is fired if the heartbeat is on