didn't close scanner