handle connection lost and reload request