Here is a suggestion, without seeing some code, I can't be sure...
The problem is likely to be that you are resetting the lockClv to false without waiting for the resumable sub to complete
for example:
lockClV = true
PerformResumeableSub
LockCLV = false
in the example, lockCLV will only be true for a *VERY* short space of time
if you write the code like this:
lockCLV = true
wait for (performResumeablesub) complete
lockclv = false
then lockCLV will not get reset until the resumeablesub is complete