request callback is no longer called twice on error