Fix for #477

Resolves #477, IO waits in Java code checkIO are reduced to at most timerQuantum miliseconds