wait for processes [closed] - C#