try {
assertEquals("response from server2", client.get("a"));
assertEquals("response from server2", client.get("a"));
memServer2.stop();
Thread.sleep(1000);
assertEquals("response from server1", client.get("a"));
} finally {
memServer1.stop();
memServer2.stop();