wait for JPEGmini to use 0 CPU 3 times consecutively rather than 1, refs #54