I got it, with some other logic.
I had to redefine global variable while inside the thread, then increase it.
i have build a projects where i use anti - captcha new api to solve invisible recaptcha .
problem is when i run it. sometimes it's solving captcha sometime it says Thread ended with message "CAPTCHA_FAIL : ERROR_KEY_DOES_NOT_EXIST"
can anyone tell me what's the problem?

Why it's using 2capctha Solver sometimes?? i have choose anti-capctha on the script.
