C# - A console application that starts a main process along with a number of side processes and waits for an exit from the main process