[Bug #8774] resume and resumehandler will forward the return values of deferred function.