chat sdk demo cleanup