//TODO consider removing this.
        public async Task <string> SetupBlobLeaseCondition(BlobClient blob, string leaseId, string garbageLeaseId)
        {
            Lease lease = null;

            if (leaseId == this.ReceivedLeaseId || leaseId == garbageLeaseId)
            {
                lease = await blob.AcquireLeaseAsync(-1);
            }
            return(leaseId == this.ReceivedLeaseId ? lease.LeaseId : leaseId);
        }