NNTPConnection con = usedConnections.get(0);
Stack<Integer> articlesIds = new Stack<Integer>();
// public void run() {
try {
ArticleNumberIterator ait = con.listGroup(g.getName());
while(ait.hasNext()) {
Integer id = (Integer) ait.next();
System.out.println("Got article ID '" + id + "'");
//TODO check if ArticleResponse, int articleID or Article is returned
articlesIds.push(id);