Add Stream close handler for RFC6120

Signed-off-by: kim.shen <sjw_job@126.com>