Closing batch scanner in fetch method