[Core] Added ConsoleProgressMonitor.ctor with a leaveOpen param

Partial fix for bug #19575