private void createChannel() throws InterruptedException {
    channelConnectFuture = b.connect(hostname, port);
    // add a listener to create a new channel if this channel disconnects.
    ChannelFuture channelCloseFuture = channelConnectFuture.channel().closeFuture();
    channelCloseFuture.addListener(channelCloseListener);
  }
Connects to the server at {@link #hostname}:{@link #port} and sets {@link #channelConnectFuture} that tracks the
success of the connect.
@throws InterruptedException if the connect is interrupted.
ambry-test-utils/src/main/java/com/github/ambry/rest/NettyClient.java