Revert "Using multiple instances of OCR and state recognizer for multiple threads"

This reverts commit 29cb8fab213bfbc16b6a9674f6244d780f425533.