2.1.0020: Fix race condition in scan stats
Scan stats had a race condition where the final result of a scan might not be reported if the scan closed quickly enough.
Scan stats had a race condition where the final result of a scan might not be reported if the scan closed quickly enough.