public void disconnect() throws IOException {
Iterator it = usedConnections.iterator();
while(it.hasNext()) {
NNTPConnection con = (NNTPConnection) it.next();
//TODO disconnect connection
con.quit();
availableConnections.push(con);
}
fireDisconnected();
}