Fixed unclosed streams in fork.