[server][ActionManager] Use CppReaper to unlock the lock even if an exception heppens.
[server][ActorCollector] Hide lock()/unlock().

These specific operations shoulnt' be public. Previous commits
provided a more conceptual way, which can be used instead of these.