Implemented shutdown latch to make a node await other in-jvm cluster mem...

...bers to detect its death.