Add ActorSystem.shutdown() to the test to prevent leaking threads.