Cancels an asynchronous request.
If the DNS client is in synchronous mode, or is inactive, then this method does nothing.