Add missing release buffers in stream template. LP#1256172.