Remove loading mark even task fails.