cleanups of SignalHandlerRegistry code