Make the worker handle SIGTERM as well as SIGINT