Release curl connections at exit

Avoids warnings during unit tests.