Attempts to solve the socket error caused when uploading to s3

[Refrences #45162437] Solution found here:
http://stackoverflow.com/questions/12100909/rails-carrierwave-fog-s3-soc
ket-error