Guard against double instantiation or double-free of PlasmaNM.NetworkModel
Who knows, the signal may be called by arbitrary code at random moments in time, so it better be careful with memory management. BUG: 465805 (cherry picked from commit 0c6dcde0)