Add is_running() method to daemons to check the child process