return xhr to allow aborting