Fix a potential problem.

Accessing members in 'actorInfo' returned by spawn() is not safe.
When threads that run spawn() and ActorCollector::checkExitProcess()
are different, 'actorInfo' created in spawn() may be deleted in
checkExitProcess() before spawn() returns.