reject ajax call on corebos webservice error. makes it easy to capture on the promise