Handle killing of waitForDaemon process to kill daemon itself