Disable sends or receives on the socket.
boost::system::error_code shutdown( implementation_type & impl, socket_base::shutdown_type what, boost::system::error_code & ec);