Thread when starting a process - C#