Stream was not readable error during execution of powershell

When running a powershell sync project all works ok

....until I do not run 20 or more in paralel (updating attributes on 20+ objects at the same time)

Then I get error Stream was not readable.

https://imgur.com/a/1A6pneS

It is a simple PS connector with no arrays or anything, just some strange LDAP attributes