Nothing in sections 51A.01 to 51A.57 or the statute law of the state shall be construed as denying to an association the right to invest its funds, operate a business, manage or deal in property, or take any other action over whatever period of time may reasonably be necessary to avoid loss on a loan or investment theretofore made or an obligation created in good faith.