Fix another hang caused by ManagedStatic in SignalHandler