master: handle undeploy zk retry failure