Fix flakiness in test TearDown to account for eventual consistency of object listings.