Add exception handling to the Amazon S3 plugin (occasionally can't connect with localhost).