initial commit, streaming works but stops when app is sent to background