code: public static void close(Closeable a) {
          try {
              if (a != null) {
                  a.close();
              }
          } catch (Exception e) {
              throw wrap(e);
          }
      }
docs: Close a Closeable if it is not null.
  
  @param a
  The Closeable or null.