How do I close console app outside of the Main method? - C#