THIRD AMENDMENT OF AMENDED AND RESTATED CREDIT AGREEMENT