The board, with the consent of the holders of any or all of the outstanding bonds to be refunded, may direct the county treasurer to deliver to such holders at any time, in exchange therefor, refunding bonds issued pursuant to this chapter, having maturities agreed upon by the board and the holders of the bonds to be refunded.