Follow-up of #1891980: Add Service termination API to reliable terminate/shut down services in the container
Right now, we have no dependency detection during service destruction.
Services that need destruction could depend on each other (e.g. database and databaser key value expirable backend) and we need to make sure that we destruct them in the right order.
Probably requires to extract dependencies, run them through the Graph component and then add them in the right order to the service.