abort method
void
abort()
Stop the current request.
The request can only be stopped if readyState is HEADERS_RECEIVED or
LOADING. If this method is not in the process of being sent, the method
has no effect.
Implementation
void abort() {
_requestId++;
_setReadyState(UNSENT);
}