Wait for actor system to stop before continuing tests