Add maxRedirects option