Tests invoking close() in the middle of an XMLHttpRequest.