Closing an unclosed Scanner object.