Fixing Amazon SES, fatal error caused by bad connection