138139140141142143144145146147148
try { // Wait for the active scanner to complete while (extAscan.isScanning(startNode)) { sleep (500); if (this.stopAttack) { extAscan.stopScan(startNode); } } } catch (InterruptedException e) { // Ignore }