fix task release race condition