Odd Monopoly situation: rolling doubles to get out of jail is ALSO third double in a row!
As per the official rules, "[y]our turn ends when you are sent to jail". So in that situation, having landed on the "Go To Jail" space, the player gets put in jail and his turn ends so he has no opportunity to roll the third time.