Better looping in move_torrents