No person shall institute or prosecute any action against an association to recover the value of any account or any part thereof, until an application for the withdrawal thereof has been filed, and not then, so long as such association pays withdrawals as provided in this act. At least 30 days' written notice of the intention to institute such action shall be served upon the association and upon the commissioner. Recovery in any such action shall be limited to the amount which the claimant would have received up to the date of the entry of judgment, if payment had been made to him in accordance with the provisions of this act.
N.J.S. § 17:12B-143