Adds SIGTERM handling

closes #4403
- adds SIGTERM handler to match SIGINT handler
Merge pull request #4404 from Haegin/add-sigterm-handler

Adds SIGTERM handling