not sure why ~SignalHandlerRegistry () needed public? But apparently it is