close cURL resource, and free up system resources automatically
Merge pull request #100 from bauer01/connection

close cURL resource, and free up system resources automatically