pub async fn restart_node_service( node_registry: &mut NodeRegistry, peer_id: PeerId, retain_peer_id: bool, ) -> Result<()>