So is the bucket released when it has returned all of the items inside of it, before the actual processing of items start. Or will the bucket be locked during the processing as well? If the latter case, what happens if the processing takes longer than the collection expiry time and the bucket is released before everything is processed?