There is a global function that initializes and cleans up some resources. But those 2 function must be called when no other thread is running.(like curl_global_init<
curl_global_init<