Removed incorrect storage of stack-allocated instances references inside deferred handler call