[WO-532] don't invoke callback if onError was fired