code: public static void safeClose(@Nullable Closeable closeable) {
          if (closeable == null) return;
  
          try {
              closeable.close();
          } catch (IOException ignored) {
              // We made out best effort to release this resource. Nothing more we can do.
          }
      }
docs: Closes a Closeable.
  
  @param closeable Closeable to close. If closeable is null then method just returns.