private void DisposeRequest() {
if(IsDebugEnabled)
log.Debug("Disposing instance of HttpWebRequest is starting...");
if(_request == null)
return;
try {
_request.Abort();
}
catch(Exception ex) {
if(log.IsWarnEnabled)
log.Warn(ex);
}
finally {
_request = null;
if(IsDebugEnabled)
log.Debug("Instance of HttpWebRequest is disposed.");
}
}