Any member who has been in the service of the City for a period of less than 20 years and whose service shall terminate prior to his or her spouse or children becoming eligible for a pension shall be paid the total amount of the contributions paid into the fund by him and without interest, except as provided in § 62-405C.