OCR in a loop - Executor has ended with exit code : 1073741819 and Code : 255

Have you read this? Invoke should use the isolated option and enclosed in a try-catch.