Adds SIGTERM handling

closes #4403
- adds SIGTERM handler to match SIGINT handler