Portion of jail to close for repair