public async Task ExecuteAsync() { var stopwatch = Stopwatch.StartNew(); var outcome = JobOutcome.Failure; try { outcome = await UpdateVerifiedPackagesAsync() ? JobOutcome.Success : JobOutcome.NoOp; } finally { stopwatch.Stop(); _telemetryService.TrackUpdateVerifiedPackagesCompleted(outcome, stopwatch.Elapsed); } }