Cancel all asynchronous operations associated with the socket.
asio::error_code cancel( implementation_type & impl, asio::error_code & ec);