Fix mistake in torrentmanager