Moved ClearRangeAsync(db, subspace) where it belongs, and made it retry on errors