simplify the accounting of active_download and active_finished torrents