added message passing based shutdown to the clustering component