while ((n = myReader.read(myInputBuffer)) >= 0) {
if (n > 0) {
read = true;
processLine(myInputBuffer, myLineBuffer, n);
}
<BUG>if (!myReader.ready()) {
TimeoutUtil.sleep(mySleepingPolicy.getTimeToSleep(n > 0));
if (!myReader.ready()) {
if (myLineBuffer.length() > 0) {</BUG>
sendLine(myLineBuffer);

while ((n = myReader.read(myInputBuffer)) >= 0) {
if (n > 0) {
read = true;
processLine(myInputBuffer, myLineBuffer, n);
