More robust zk client error handling: support progressively more severe retry logic.