Fix segmentation fault after evdns base resume

I don't sure about 7e876df71b5ac835

So if you have some thoughts, please write.