in JetBrains.Profiler.SelfApi/src/Impl/ConsoleProfiler.cs [195:204]
public void AwaitFinished(int milliseconds)
{
if (!_process.WaitForExit(milliseconds))
throw BuildException($"{_presentableName} has not finished in the given time ({milliseconds} ms). Try increasing the profiler response timeout using UseCustomResponseTimeout.");
_process.WaitForExit();
if (_process.ExitCode != 0)
throw BuildException($"{_presentableName} has failed. See details below.");
}