Rework the do while loop in SSHTransport. It still uses stringbuilder, but now behaves similar to the previous code, grabbing a line at a time so it can't overconsume after the delimiter.