i use Tesseract to read numbers from an image. This works as long as I do everything in one thread. As soon as i outsource the tesseract initialization and recognition to a sepa