Disable thread profiler once stopped.