set the exit flag in the stream gobbler to true , asking the thread to close the connection and reset concode_field_sep RespirationAnalyser respAnalyser concode_elem_sep int windowSize concode_elem_sep String fName concode_elem_sep Pattern whiteSpacePattern concode_elem_sep List<StreamGobbler> runningGobblers concode_field_sep void printHelp concode_elem_sep void askForWindowSize concode_elem_sep void askForFileName concode_elem_sep void main concode_elem_sep boolean checkFileName concode_elem_sep int checkWindowSize
void function ( ) { Iterator < StreamGobbler > loc0 = runningGobblers . iterator ( ) ; while ( loc0 . hasNext ( ) ) { StreamGobbler loc1 = loc0 . next ( ) ; loc1 . disconnect ( ) ; } runningGobblers = new ArrayList < StreamGobbler > ( ) ; printHelp ( ) ; }