Clean up on INT and TERM.