[PATCH] util: virdaemon: fix waiting for child processes