[server][ActorCollector] Replace some functions with those of ChildProcessManager.