[services/federation] do not leak resources