fixed bug that stream sterver crashed when render client disappeared.