int timeout = -1;
if(scmDescr.hasP4ReadlineTimeout()) { // Implementation with timeout
timeout = scmDescr.getP4ReadLineTimeout();
}
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)