Use self.close_connection = True