closed scanner after use