CURL dns timeout crash fix