While using "Call function in multi-threads" and put remove current element from resource inside the function, it will remove all resource element that has been already used in the function and not only the current element in thread.
Maybe you are using "not reuse" option when
dealing with resource, and that might be problem
for deleting current line from resource - instead
it is deleting next resource line.