sorry, i am too tired to figure this out with much certainty (just worked 18 hours straight and just poped in here for a quick look).
could bee that the key is "too late" that is the network is already set and when reconfiguring it starts grabbing memory.