Streaming hangs when stopped