As discussed I prefer clusterManager.leaving() (or leave() ?). In my dumb brain it make more sense to call leave() first then stop() at the end. The name shutdown() and stop() feels like equals and this may be hard to understand the difference.