Fixed a resource leak in the printMenu() Scanner.