We have a complain of our costumers, they say that speed of OCR is very slow in some cases.

In class AbbyOCRService, method waitforCompletion, there is a sleep of 5 seconds

        while (task.isTaskActive()) {

            //System.out.println("Sin sleep..");



            task = restClient.getTaskStatus(task.Id);



It's necesary for any reason? Can I reduce the amount of seconds of that wait?

Thanks in advance