Rework stopping xmpp connection

Created by  O01eg  on December 29, 2018
XGP44R5HBQAHBXEJKN4AB77OZ32B32FPUHSUILZDVNO4QLUOTW6QC
Change contents