This code is incorrect, because you are clearing the same `changeSet` you are providing to stream. Instead, we should create new `changeSet` for us:

    changeSet = new ChangeSet();