refs #124; added retry-limit to prevent endless redirections & typo