added fix in streamning background service to pass tests