THIRD AMENDED AND RESTATED ESCROW AGREEMENT