Update Program.cs

Fixed the infinite loop issue