Release the old return value when restarting a thread.