Modified subtasksids variable. There is no need to convert to a list,
just looping over the tuple is enough.
Renamed function get_partial_results to check_subtask_status. Now we
have to manage the subtasks separately. First approach.