Added missing method call to IConsole.Exit().

Fix for #267