Fix bug in deferred, it must not change status if finished