});
this.exeutor = new ScheduledThreadPoolExecutor(threads, threadFactory);
this.exeutor.setRemoveOnCancelPolicy(true);
TokenFactory tokenFactory = new TokenFactory(maxTokenLength);
//Create factories for channel and pipeline
ChannelFactory channelFactory = new NioDatagramChannelFactory(exeutor, threads/2);
ClientChannelPipelineFactory clientChannelPipelineFactory =
new ClientChannelPipelineFactory(exeutor, tokenFactory);