private void waitForServerResponse(long timeoutInMs)
      throws InterruptedException {
     serverResponse = serverResponseQueue.poll(timeoutInMs, TimeUnit.MILLISECONDS);
  }
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