Cancel all asynchronous operations associated with the socket.
This function causes all outstanding asynchronous connect, read, and write
operations to finish immediately. Completion handlers for cancelled operations
will receive the error
Completion handlers not yet invoked whose operations have completed, will
receive the error corresponding to the result of the operation (which may