[OLINGO-418] add fix when using the lasted rxjs library for testing, detail: add call to observable.dispose()
diff --git a/odatajs/src/lib/cache.js b/odatajs/src/lib/cache.js
index 3407fee..cc047f0 100644
--- a/odatajs/src/lib/cache.js
+++ b/odatajs/src/lib/cache.js
@@ -629,7 +629,10 @@
 
             that.readRange(index, pageSize).then(successCallback, errorCallback);
 
-            return { Dispose: function () { disposed = true; } };
+            return { Dispose: function () { 
+                obs.dispose(); // otherwise the check isStopped obs.onNext(data.value[i]);
+                disposed = true; 
+                } };
         });
     };