Handle SIGTERM as well.
Handle SIGTERM as well.

Also, add a hook to avoid signal handler registration

facebook/sparts,djipko/sparts,bboozzoo/sparts,fmoo/sparts,djipko/sparts,pshuff/sparts,bboozzoo/sparts,facebook/sparts,pshuff/sparts,fmoo/sparts