ITS#9534 fix delta-sync startup When transitioning from plain refresh to delta mode, don't wait for a reschedule, go immediately. Partially reverts f2740c79b38a986dfac78bc98c62e5f74ad9224e
ITS#9535 avoid non-portable wc format Use awk to count lines instead