code: function tryRemoteLog2() {
              trying = false;
              remoteBuffer.shift();
              if (remoteBuffer.length === 0) {
                  if (cb) {
                      cb();
                      cb = undefined;
                  }
              }
              tryRemoteLog();
          }
docs: invoked when we receive a message over the websocket,
  indicating that the last trace chunk in the remoteBuffer
  has been received