- fix shutdown of linkmanager so test are clean