private void shutdownChildren() throws InterruptedException {
LOG.info("{} shutting down all children.", this);
for (ChildEntry child : children) {
if (child.actor != null) {
unwatch(child);
((ActorImpl) child.actor).sendOrInterrupt(new ShutdownMessage(this));
}
}
for (ChildEntry child : children) {
if (child.actor != null) {