private void CleanUpActor(int actorId, IActor actor) { try { actor.CleanUp(_runtime, actorId); } catch (Exception ex) { _logger.Error("Exception during actor cleanup", ex); } }