@Override
public void run() {
initClient();
final Channel channel = client.join(channelName);
while (running) {
final LogLine line;
try {
line = buffer.take();
} catch (InterruptedException e) {
continue;
}
channel.write(line.getLine());
}
channel.part(quitMessage);
}