bugfix: re-create stream when clear contents.
bugfix: re-create stream when clear contents.

Signed-off-by: liuyanghejerry <b0f1940d4cb9978b550cd1a60612dc2e954a1ee2@126.com>

liuyanghejerry/painttyServer