Further enhanced the protection from errors in BenchmarkProcessObserver thread.