Quick bug fix

Forgot scanner.close