remove cached msgs when disconnect.