Destroys the resolver.
~basic_resolver();
This function destroys the resolver, cancelling any outstanding asynchronous wait operations associated with the resolver as if by calling cancel.
cancel