public static void closeQuiet(@Nullable Selector rsrc){
  if (rsrc != null)   try {
    if (rsrc.isOpen())     rsrc.close();
  }
 catch (  IOException ignored) {
  }
}

public static void closeQuiet ( @ Nullable Selector rsrc ) { if ( rsrc != null ) try { if ( rsrc . isOpen ( ) ) rsrc . close ( ) ; } catch ( IOException ignored ) { } }
quietly closes given resource ignoring possible checked exception .
