Add defer reject when ajax req does not work out