cleanup curl in AssetsManager destructor