In any case, the grant shall not be in excess of six hundred dollars per connection or twenty-five percent of the total project cost, whichever is less, or a maximum of four hundred thousand dollars, and no district or authority system may receive more than one grant for any purpose in any one-year period.