stop profiler after fatal exception