Make sure that we do not ever crash because of perf counters