add write channel panic recover demo