ReactorEventDispatcher.HeatCritical += () => {
	var triggerShutdownTask = Task.Run((Action) ReactorEventDispatcher.TriggerSafetyShutdown);

	OtherLongRunningSafetyCode();

	triggerShutdownTask.Wait();
};