When deleting a connection the in memory connections need to be updated so there is no rogue connection