def METHOD_NAME(exec, success):
    unreal.log("Render completed. Success: " + str(success))
    # Delete our reference so we don't keep it alive.
    global executor
    global queue
    del executor
    del queue