Please remove this method completely, as its obsolete. Or add a setInterval method to the torrent_checking which allows this code to modify the interval based on the number of torrents collected.