Do not loop endlessly if removal of bucket content fails

Only remove contents from bucket once and then stop if
bucket cannot be removed due to some reason.

Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750561