Update Server.java

1. newChannels.add - >newChannels.put 
"newChannels.add" while not block when queue is full.
2. channel.close();
addChannelToQueue（newChannels.add） may throw IllegalStateException(queue full) , then the channel may leak.