added config param 'tor_port'
typo fixed 'task_cfg.use_tor = ...'