Refactoring; changed to actor->kill() and removed debug print.