private RegisterTerminationHook() { } private static readonly RegisterTerminationHook _instance = new RegisterTerminationHook();