Temporarily profiling slow tasks