How does Steven Moffat keep getting work?

“There’s one thing you should never put in a trap–”
“A wolf? A trapped wolf is dangerous to get out of your trap.”
“What? No. Me.”
“Why is it dangerous to put you in a trap?”
“Well…because I’m the Doctor…”
“So?”
“So I’m very dangerous when I’m trapped.”
“But not when you’re free?”
“That’s not what I–”
“Look, if you’re not dangerous when you’re free, then how do you keep getting trapped?”
“I don’t KEEP getting trapped!”
“Then how has it happened so often that you have a rule about it?”
“Hold on, let’s start again from the beginning…”
“Right. So, wolves.”
“Not wolves! Me! I’m dangerous to put in a trap!”
“But not more dangerous than you are when you’re free.”
“Correct.”
“So how do you keep getting captured?”