Close Scanner when session stops in ConsoleUserPrompt