Ilya, I reviewed your test and I now see the point. Is the same possible with server-server? Or failure process will be initiated for remote node by local one?
Will the following work for client? If connection fails then client takes a pause for 1 sec with Thread.sleep() and takes another attempt. If maxConnectionAttempts (3 by default) fails then client stops and restart itself. --Yakov