Issue #18: Potentially fix by freeing config and curl objects after worker threads exit in deinit().