Fixed race condition in QtilitiesProcess::stopProcess().