Consider empty torrentlist in pause_unpause_all_torrent()