add an error message when the daemon is killed
sleep 1 s on error