Set task state before sending volumes updated event