dont free chunk.memory until after response parsed