close curl handle on client descruction.