Replace deferred recover lambda func