- close scanner resource when stopping