move wait_for_progress() into image class
deblocking with parallel CTB rows