Spurious `return` in `waitForStreamActivity`? It doesn't seem to be used anywhere, and I don't see how it could be useful anyway.