callback on non 200 status

fix end event never being emitted and callback not being triggered if any resource returned a non 200 status