connectionlossexception issue debugged