@SuppressWarnings("unused")
private static void asyncConnect(InetSocketAddress addr) {
final RpcClient client = new RpcClient();
client.registerService(Sudoku.SudokuService.newReflectiveService(new SudokuImpl()));
client.startConnect(addr, new NewChannelCallback() {
@Override
public void run(RpcChannel channel) {
sendAsyncRequest(channel, client);
}
});