fix killing daemon with new r cookbook