Shouldn't we release the empty bucket locks before returning?