add case of disconnected