/** Close our index ScanController. */ private void closeIndexSC() throws StandardException { /* Only consider closing index SC if we own it. */ if (ownIndexSC && indexSC != null) { indexSC.close(); indexSC = null; } }