pub async fn kill_network( node_registry: NodeRegistryManager, keep_directories: bool, ) -> Result<()>