Fix: _stopDaemon not called on child process of daemon