Figured out that I could wrap curl_easy_perform in @async to get this to work
curl_easy_perform
@async