signal traps for endgame cleanups