pub fn wait_until_stopped(root: &Path) -> boolExpand description
Poll until no daemon is listening for root, up to ~5s. Used by restart after a Shutdown so the
fresh daemon isn’t spawned while the old one still holds the endpoint (it would exit as a no-op).
Returns true once the endpoint is free, false on timeout.