issue #824469 - handle duplicated release attempts (unclear circumstances)
Merge pull request #540 from gilmoskowitz/i24469_xtlockDoubleRelease

issue #24469 - handle duplicated release attempts