fix windows can't kill debug bug.