Analysis of rippled dependencies and correct order of shutdown