Cancel any asynchronous operations that are waiting on the resolver.
void cancel();
This function forces the completion of any pending asynchronous operations
on the host resolver. The handler for each cancelled operation will be
invoked with the std::experimental::net::v1::error::operation_aborted
error code.