public void run() throws Exception {
ClientEngineImpl engine = getService();
final ClientEndpointManager endpointManager = engine.getEndpointManager();
Set<ClientEndpoint> endpoints = endpointManager.getEndpoints(clientUuid);
for (ClientEndpoint endpoint : endpoints) {
endpointManager.removeEndpoint(endpoint, true);
}
engine.removeOwnershipMapping(clientUuid);
NodeEngineImpl nodeEngine = (NodeEngineImpl) getNodeEngine();
nodeEngine.onClientDisconnected(clientUuid);