It's that frantic order as he realizes he's stumbled upon someone's Riker sex program that bumps this up from "very good" to 5 star genius. It's all in the timing.
Of all the things you can pin on the holodeck, I don't think it was trying to kill him this time. It wanted a very different reaction. It wanted Picard to get a boner.