.NET package has error when parsing closed stream

I hope that someone can help me better than on github.

When uploading a record set of 2451 items of 499834 bytes to client.Jobs.ImportUsersAsync there is an exception in reading the response. Cannot access a closed Stream.
It might be valueable to know that we insert more than 1 job in a short time. We have around 7000 records and we need them in Auth0. Our process splits them in batches to not exceed the upload max.
I’ve also tried lowering the bytes send greatly but it also fails. Also we delay 2 seconds after each call

Just hit the same issue, writing batches of users to file then processing them.

Tried most things, management of streams from our calling code isn’t the issue - only work around I’ve found is sleeping the thread for 2 minutes after a failure then retry which so far appears to work every time.

Just encountered the same issue.
9 .json files with less than 500Kb each.
Running through c# code.

1 out of 2 times i get this error.

Error while copying content to a stream.
Cannot access a closed Stream.
Can anyone help me with this.

at System.Net.Http.HttpContent.<<CopyToAsync>g__WaitAsync|56_0>d.MoveNext()
   at System.Net.Http.MultipartContent.<SerializeToStreamAsyncCore>d__24.MoveNext()
   at System.Net.Http.HttpContent.<<CopyToAsync>g__WaitAsync|56_0>d.MoveNext()
   at System.Net.Http.HttpConnection.<SendRequestContentAsync>d__61.MoveNext()
   at System.Net.Http.HttpConnection.<SendAsync>d__57.MoveNext()
   at System.Net.Http.HttpConnection.<SendAsync>d__57.MoveNext()