// prepare phase.
// sendMessagesToChannel(channelName, 3);
sendMessagesToChannel(channelName, 20);
//Thread.sleep(200);
// Mark preparation completed.
handler.completed();
// Finish relocation.
relocatingClient.relocate(0, true, true);
// Make sure all members are joined and can receive messages.