The quarterback should've immediately taken a knee. Even with the hesitation, the referee should allow the play to stand and warned him if you don't immediately take a knee the next time I'm calling you for delay a game. The referee decided the outcome of this game.