Move the performance counter code to a separate class
PerformanceCounterCategory.Exists can never finish to run. We wrap it in a timer of two seconds so if it won't finish until then we won't use the performance counter.