MDL-39846 protect event dispatching process