The only things performed before are other verifications. Done here because this is here that I need the proper `ClusterManager` type. Doing it before would be strange and affect readability. 

I'm glad that you raise this anyway because I was wondering if the method `setServiceMemberStatusLeaving` should be defined at the top level i.e. in `ClusterManager`? I also consider renaming it to `leaveServiceMember` or `stopServiceMember`.