ACCUMULO-2176 Ensure scanner is closed.