This Agreement shall terminate, except to the extent that any obligation of the Company hereunder remains unpaid as of such time, at midnight on June 30, 2018, unless a Change in Control occurs on or before such date, in which case this Agreement shall terminate or twenty-four (24) months following the date of such Change in Control.