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