I'd love to hear more about how SIGTERM handling works. It looks like you can't set separate handlers for the two signals?