Adds SIGTERM handling

closes #4403
- adds SIGTERM handler to match SIGINT handler
Very good point, I've changed this in 441ba57.