Added retry logic to bucket listing