Simplify the signal trap.