Add logging and synchronization to RdfStream