Added exception handling for disconnect issues on mac
Added exception handling for disconnect issues on mac

CURA-1851

ynotstartups/Wanhao,hmflash/Cura,fieldOfView/Cura,fieldOfView/Cura,Curahelper/Cura,hmflash/Cura,Curahelper/Cura,ynotstartups/Wanhao