Performance/deadlock fix for "connect all selected nodes".  By silencing
events from the network and creating a payload after all edges are added
we improve performance and remove a nasty deadlock.

Change-Id: I00c2edf29ac8be93de30aa58cadb417bc43309d2