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

... ordered

https://issues.jboss.org/browse/ISPN-2778

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.