Introduced by #116652 - see discussion in #116652 (comment).
-
We should keep the PosixSignalRegistrations alive to prevent them from getting finalized in case GC collects them during shutdown.
-
We may want to dispose PosixSignalRegistrations on a separate thread to avoid A-B/B-A deadlock between the thread trying dispose PosixSignalRegistration and the signal handler thread in case the signal is delivered while the application is shutting down