Exhibit 10.6 THIRD AMENDED AND RESTATED CREDIT AGREEMENT