Council terminates Mark Riley’s contract, payout to stay secret