Channel is closed error when trying to put! objects in LibCURL write callback

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