Close connection now also ensures that cached machine & material ids are reset
Close connection now also ensures that cached machine & material ids are reset

CURA-2354

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