Fix issue #2 (close scanner).