@Override
    protected void done() throws IOException {
      if (closeable instanceof Flushable)
        ((Flushable) closeable).flush();
      if (ignoreCloseExceptions)
        try {
          closeable.close();
        } catch (IOException e) {
          // Ignored
        }
      else
        closeable.close();
    }
Create closer for operation

@param closeable
@param ignoreCloseExceptions
lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java