[FCS-35] Small fixes in task_server and autoscaling