datastreams: read data in another thread

Change-Id: Iedd4075eadce9ca8fc41b279ea03c2679b01ec71