AccessViolationException error when retrying InitializeAsync() method

I am currently making console application which I later want to use in Unity3d. I am using the .NetStandard libraries for this.
Sometimes I get the error System.AccessViolationException when retrying the InitializeAsync() method. I have already tried setting the TimeForResponse to 1000 but the error still came back albeit only once in 10 or so tries.

Any help would be appreciated!


This discussion has been closed.