Update network ajax to return xhr to calling view so that the request can be cancelled