Fixed performance counter NextSample() if it throws any error.

- Trace errors when initializing counters fails.