don't catch all errors, just nameresolveerror