fix bug during error handeling for timeouts in name_resolve
fix bug during error handeling for timeouts in name_resolve

dhomeier/astropy,aleksandr-bakanov/astropy,MSeifert04/astropy,StuartLittlefair/astropy,lpsinger/astropy,dhomeier/astropy,larrybradley/astropy,mhvk/astropy,MSeifert04/astropy,aleksandr-bakanov/astropy,pllim/astropy,mhvk/astropy,dhomeier/astropy,aleksandr-bakanov/astropy,bsipocz/astropy,saimn/astropy,stargaser/astropy,bsipocz/astropy,MSeifert04/astropy,StuartLittlefair/astropy,pllim/astropy,dhomeier/astropy,saimn/astropy,lpsinger/astropy,mhvk/astropy,astropy/astropy,bsipocz/astropy,pllim/astropy,mhvk/astropy,mhvk/astropy,larrybradley/astropy,bsipocz/astropy,larrybradley/astropy,saimn/astropy,larrybradley/astropy,aleksandr-bakanov/astropy,stargaser/astropy,stargaser/astropy,lpsinger/astropy,StuartLittlefair/astropy,saimn/astropy,StuartLittlefair/astropy,dhomeier/astropy,pllim/astropy,astropy/astropy,larrybradley/astropy,MSeifert04/astropy,stargaser/astropy,lpsinger/astropy,astropy/astropy,StuartLittlefair/astropy,lpsinger/astropy,astropy/astropy,astropy/astropy,saimn/astropy,pllim/astropy