After a read completes it's possible more data is pending so issue an immediate read again to pick this up quickly.
@@ -249,6 +249,9 @@ Author: Boris Smus (smus@chromium.org)
this.callbacks.recvString(str);
}.bind(this));
}
+
+ // Trigger another read right away
+ setTimeout(this._periodicallyRead.bind(this), 0);
};