Don't catch EOF/Type errors separately; retry instead