closing scanners, setting batch to 1 for scanOne