Thread t = new Thread() {
// get first connection
NNTPConnection con = usedConnections.get(0);
public void run() {
GroupIterator git;
try {
git = con.list();
while(git.hasNext()) {
gnu.inet.nntp.Group g = (gnu.inet.nntp.Group) git.next();
Group group = new Group();
group.setName(g.getName());
group.setFirst(g.getFirst());
group.setLast(g.getLast());
group.setLastUpdate(new Date());