}
if (to_cancel.size() > 0){
for (Iterator iter = to_cancel.iterator(); iter.hasNext();) {
TorrentDownloader element = (TorrentDownloader) iter.next();
element.cancel();
}
}
for (Iterator iter = torrentList.iterator(); iter.hasNext();) {
TorrentInfo info = (TorrentInfo) iter.next();