Modification in cluster - Added shutdown method