Fix not shutting down when all work is done in less than a second.
Fix not shutting down when all work is done in less than a second.

CoreMedia/ssllabs-scan,ivarvong/ssllabs-scan,ssllabs/ssllabs-scan,hickford/ssllabs-scan,michalkoczwara/ssllabs-scan