eliminate closure fix multiple render instances and memory leakage fix eslint magically fix flow typing add multiple render stream test