Releases the given lock if the current user still has it, returning true if the lock was successfully released, and false
if someone else already stole the lock.
If you expect each client to own tens or hundreds of locks, you can configure the thread pool size
of MomentoLockClientHeartbeatHandler so that individual locks heartbeat in parallel.
This library uses a lightweight executor to submit tasks for acquiring locks and to schedule any retries
if applicable for locks that are acquired to achieve a blocking behavior.