THIRD AMENDMENT TO SECOND AMENDED AND RESTATED CREDIT AGREEMENT AND FORBEARANCE AGREEMENT