}
timedStreamCloser = new TimedStreamCloser(p4.getInputStream(), timeout);
timedStreamCloser.start();
while((line = reader.readLine()) != null) {
timedStreamCloser.reset();
// only check for errors if we have not found one already
if (mesgIndex == -1)
mesgIndex = checkAuthnErrors(line);
if(filter.reject(line)) continue;
lines.add(line);