Changed how streaming is threaded to better support multiple clients