remove discoveryManager