track zk timeouts as a metric
fix potential memory leak when using zk tags