Added lock to Bucket.Reset

The Buckets Limiter is now locked before changes to capacity are made
during Reset.