Cannot use SIG_IGN to detect ignored signals.  Maybe fixes #48