Fix crash while calling callback in UnLoad handler (invalid call after interpreter destruction)