make sure all intermediate stream bodies will be destroy

make sure all intermediate stream bodies will be destroy and have error listener(ctx.onerror).