scanner is now closed