Mainly add timeout to profiler