try {
mChannelFuture = mBootstrap.bind(address).sync();
} catch (InterruptedException e) {
throw Throwables.propagate(e);
}
<BUG>}
public void close() throws IOException {</BUG>
mChannelFuture.channel().close().awaitUninterruptibly();
mBootstrap.group().shutdownGracefully();
mBootstrap.childGroup().shutdownGracefully();

try {
mChannelFuture = mBootstrap.bind(address).sync();
} catch (InterruptedException e) {
throw Throwables.propagate(e);
}
}
@Override
public void close() throws IOException {
mChannelFuture.channel().close().awaitUninterruptibly();
mBootstrap.group().shutdownGracefully();
mBootstrap.childGroup().shutdownGracefully();
