close
Closes this channel.
Any thread currently blocked in an I/O operation upon this channel will receive an AsynchronousCloseException.
This method otherwise behaves exactly as specified by the Channel.close interface.
Throws
IOException
If an I/O error occurs