(b) If a withdrawal of accumulated contributions is payable to the borrower or his or her beneficiary before he or she repays the loan with interest, the loan balance due with interest to date shall be deducted from the withdrawal.
(c) A member with an unpaid loan balance who wishes to retire or who becomes eligible to receive disability benefits under any provisions of this article may have the loan repaid in full by accepting retirement income or disability payments reduced by deducting from the actuarial reserve for the accrued benefit the amount of the unpaid balance plus accrued interest, if any, and then converting the remaining of the reserve to a monthly pension or disability benefit payable in the form of the annuity desired by the member: Provided, That if payment of the member's monthly retirement income or disability income is suspended or terminated for any reason, upon recommencement of the payments, the actuarial reduction in benefit may be recalculated for additional interest accruals, to the extent determined necessary and appropriate by the board.
(d) A member who ceases service with an unpaid loan balance will no longer be a member when the unpaid loan balance, plus accrued interest, equals or exceeds the member's accumulated contributions.
(e) The entire unpaid balance of any loan, and interest due thereon, shall at the option of the board become due and payable without further notice or demand upon the occurrence with respect to the borrowing member of any of the following events of default: (1) Any payment of principal and accrued interest on a loan remains unpaid after they become due and payable under the terms of the loan or after the grace period established in the discretion of the retirement board; (2) the borrowing member attempts to make an assignment for the benefit of creditors of his or her benefit under the retirement system; or (3) any other event of default set forth in rules promulgated by the board pursuant to the authority granted in section one, article ten-d, chapter five of this code: Provided, That any offset of an unpaid loan balance shall be made only at such time as the member is entitled to receive a distribution under the plan.
(f) Loans shall be evidenced by such form of obligations and shall be made upon such additional terms as to default, prepayment, security, and otherwise as the board may determine.
(g) Notwithstanding anything in this section to the contrary, the loan program authorized by this section shall comply with the provisions of Section 72(p)(2) and Section 401 of the Internal Revenue Code and the federal regulations issued thereunder. The board may: (1) Apply and construe the provisions of this section and administer the plan loan program in such a manner as to comply with the provisions of Sections 72(p)(2) and Section 401 of the Internal Revenue Code; (2) adopt plan loan policies or procedures consistent with these federal law provisions; and (3) take any actions it considers necessary or appropriate to administer the plan loan program created under this section in accordance with these federal law provisions. The board is further authorized in connection with the plan loan program to take any actions that may at any time be required by the Internal Revenue Service regarding compliance with the requirements of Section 72(p)(2) or Section 401 of the Internal Revenue Code, notwithstanding any provision in this article to the contrary.
(h) Notwithstanding anything in this article to the contrary, the loan program authorized by this section shall not be available to any deputy sheriff who becomes a member of the Deputy Sheriff Retirement System on or after July 1, 2005.