432901 ensure a single onError callback only in pending and unready states