Thank you a lot! Especially for merging stream_close Btw, stream_close was working only if stream was opened like {active, once}, not {active, true}. Have you looked at this issue?