... which leads to long delays if the lock is rapidly unlocked and then tried for reacquire (which seems to safely fail if done immediately after unlock)
solution - retry lock if no error after 1s delay?
... which leads to long delays if the lock is rapidly unlocked and then tried for reacquire (which seems to safely fail if done immediately after unlock)
solution - retry lock if no error after 1s delay?