The making of the contract shall not bar the board of supervisors of the county during the continuance of the contract from establishing a county free library under the provisions of this chapter if none is already established. Upon the establishment of any county free library, the contract may be terminated upon such terms as may be agreed upon by the parties thereto, or may continue for the term thereof.