Use signal.SIG* instead of harcoded values.