         redis.call('hdel', _:qk-locks,         mid)
         return nil
       end
+
+      redis.call('set', _:qk-ndry-runs, 0)
 
       local now         = tonumber(_:now)
       local lock_exp    = tonumber(redis.call('hget', _:qk-locks,    mid) or 0)

    :qk-retry-counts  (qkey qname "retry-counts")
    :qk-mid-circle    (qkey qname "mid-circle")
    :qk-recently-done (qkey qname "recently-done")
    :qk-eoq-backoff   (qkey qname "eoq-backoff?")}
   {:now              (System/currentTimeMillis)
    :lock-ms          lock-ms
    :eoq-backoff-ms   eoq-backoff-ms}))

                                            (catch Throwable t {:status :error
                                                                :throwable t}))]
                            (when (map? result) result))]
                      (case status
                        :success (done mid)
                        :retry   (retry mid backoff-ms)
