Use reference counting instead of a soft cache to make the LockService
more deterministic and memory efficienct