Changing to RLock might work