Removing $NAME from the stop command to kill it via pid. The daemon runs as /usr/bin/perl -w <process> and does not get killed by name