Fix for trying to stop an already stopped daemon.