Fixed bug when S3 can't be found or denied auth

Fixes small issue with file server if S3 doesn't answer or there is a authentication problem