Streams: fix new closures mechanism