provide a ref to the stream so we can destroy it when a client disconnects