ISPN-2778 When a cache is restarted, the LEAVE and JOIN commands are not ordered

Make the LEAVE command synchronous. Since the cache start/shutdown is
already synchronized, this will prevent the cache from restarting before
the coordinator has removed it from the members list.