I need to start Akka (2.0) actor system, send in some messages, then wait for it to do heavy lifting. After that, I need to do something unrelated to those actors.
I
I found the solution - just call system.shutdown from the master actor:
context.system.shutdown