process the new link detach events
update test peer to close rather than detach links when asked