# File lib/cool.io/io.rb, line 87
    def close
      detach if attached?
      detach_write_watcher
      @_io.close unless @_io.closed?

      on_close
      nil
    end