Make getTaskStatus() method consistent with other methods