fix: curl config improvement to avoid some curl errors