fix the trouble with timeout stopChat