Make the daemon cleanly stop the executor when it gets a signal to exit.