[server] Add a framework to delete server dynamically.