Fix paperclip s3 connection bug