private OsType getOperatingSystem() {
    String osName = System.getProperty("os.name");
    Preconditions.checkNotNull(osName, "os.name is null");
    return getMatchingOs(osName);
  }
Waits for a server response until the given timeout value in milliseconds.
Returns null if timeout.
jdbc/src/java/org/apache/hive/jdbc/saml/HiveJdbcBrowserClient.java