I think there is a do-over if the ref had held up play before the throw-in and the player took the throw-in before the ref signaled to resume play.