Fix for unclosed Scanner
Merge pull request #43 from mondain/patch-1

Fix for unclosed Scanner