FIX: Curl crashes when the dns tries to resolve the host but exceeds the timout of curl.