Refactor, ActorSystem inherits from ActorRefFactory
Using this.Context.Stop() in Master actor Pi sample