private static void releaseResources(Process netstat, InputStreamReader inputStreamReader,
      BufferedReader breader) {
    if (breader != null) {
      try {
        breader.close();
      } catch (IOException ignore) {
      }
    }
    if (inputStreamReader != null) {
      try {
        inputStreamReader.close();
      } catch (IOException ignore) {
      }
    }
    if (netstat != null) {
      netstat.destroy();
    }
  }
Executes 'netstat' OS command & returns the result as compressed bytes.

@since GemFire 7.0
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/functions/NetstatFunction.java