[ActionManager] Fix a problem that may cause a dead lock due to the call deleteOnGLibEventLoop() with ActorCollector::lock.
[ActorCollector] Fix a problem that causes a dead lock when the deleteOnGLibEventLoop() is called.