First 2021 v5 version. Uses ThisThread::sleep_for(ms).