ConsoleApp.CancelClose now works