Adding in workaround for SSL connection errors