the Secretary shall be obligated to reconvey or redeliver possession of the project as constituted at the time of reconveyance or redelivery, to such public housing agency or to its successor (if such public housing agency or a successor exists) upon such terms as shall be prescribed in such contract, and as soon as practicable (i) after the Secretary is satisfied that all defaults with respect to the project have been cured, and that the project will, in order to fulfill the purposes of this chapter, thereafter be operated in accordance with the terms of such contract; or (ii) after the termination of the obligation to make annual contributions available unless there are any obligations or covenants of the public housing agency to the Secretary which are then in default. Any prior conveyances and reconveyances or deliveries and redeliveries of possession shall not exhaust the right to require a conveyance or delivery of possession of the project to the Secretary pursuant to subparagraph (1) upon the subsequent occurrence of a substantial default.
Whenever such a contract for annual contributions includes provisions which the Secretary in such contract determines are in accordance with this subsection, and the portion of the annual contribution payable for debt service requirements pursuant to such contract has been pledged by the public housing agency as security for the payment of the principal and interest on any of its obligations, the Secretary (notwithstanding any other provisions of this chapter) shall continue to make such annual contributions available for the project so long as any of such obligations remain outstanding, and may covenant in such contract that in any event such annual contributions shall in each year be at least equal to an amount which, together with such income or other funds as are actually available from the project for the purpose at the time such annual contribution is made, will suffice for the payment of all installments, falling due within the next succeeding twelve months, of principal and interest on the obligations for which the annual contributions provided for in the contract shall have been pledged as security. In no case shall such annual contributions be in excess of the maximum sum specified in the contract involved, nor for longer than the remainder of the maximum period fixed by the contract.