The output of KneadData differs when threads are used

Since this post has been temporarily hidden for several days, I have already found a new solution and posted it in the following topic.