The provisions of section 17a-145 shall not apply to any person who is caring for a child without compensation and who has executed a written agreement for the adoption of such child which agreement has been filed with the Probate Court with the application for adoption as provided in section 45a-727.
Conn. Gen. Stat. § 17a-148
(1949 Rev., S. 2639; P.A. 73-156, S. 18.)