[checkmk-commits] Fix possible hanging tests caused by stale locks