class NIO::Monitor

def close(deregister = true)

Deactivate this monitor
def close(deregister = true)
  @closed = true
  @selector.deregister(io) if deregister
end