Added subscriber to change parent task state when subtask state changed