make CountingDownStreamCallback static to reduce footprint