Can a long-term subcontract for mail management services be terminated if the main contract is terminated?

The subcontract for mail management services at issue is an innominate contract that consequently cannot be terminated before the end of its term without just cause.