(a) Unless otherwise agreed, a landlord who conveys premises, which include a dwelling unit subject to a rental agreement, to a bona fide purchaser, is relieved of liability under the rental agreement and the provisions of this chapter and sections 47a-21 , 47a-23 to 47a-23b , inclusive, 47a-26 to 47a-26g , inclusive, 47a-35 to 47a-35b , inclusive, 47a-41a , 47a-43 and 47a-46 , with respect to any events occurring after written notice to the tenant of the conveyance.
(b) Unless otherwise agreed, a manager of premises which include a dwelling unit is relieved of liability under the rental agreement and this chapter and section 47a-21 as to events occurring after termination of his management.