Fixed Quit but not disconnect