store.set(root, (byte[]) null, txn);
store.commit(txn);
RemoteChannelReceiver.getReceiver(LocalActor.getMailbox(actor), true).handleRefMessage(new GlxRemoteChannel.RefMessage(false, grid.cluster().getMyNodeId()));
} catch (TimeoutException e) {
LOG.error("Unregistering {} failed due to timeout", rootName);
store.rollback(txn);
store.abort(txn);
throw new RuntimeException("Actor unregistration failed");
}
} catch (InterruptedException e) {
throw new RuntimeException(e);