Sweeping !58889 from master to 22.0. PerfMonComps: Update the handling of the end of the event loop in PerfMonMTSvcCloses ATEAM-872
PerfMonComps: Update the handling of the end of the event loop in PerfMonMTSvc
Closes ATEAM-872
See merge request !58889 (merged)