code: public Boolean waitForResponse() {
          if (responseReceived != null) {
              return responseReceived;
          }
  
          synchronized (lock) {
              try {
                  lock.wait(RESPONSE_WAIT_TIME);
              } catch (InterruptedException e) {
                  log.warn("Interrupted waiting for synchronous response.");
              }
          }
  
          if (responseReceived == null) {
              log.warn("Timed out waiting for synchronous response.");
              responseReceived = false;
          }
  
          return responseReceived;
      }
docs: Wait/Block for a specific response message from the project board. This will block for up to 5 seconds
  waiting for a reply message matching the given class T.
  @return True if the response came through while waiting. False if the timeout was hit while waiting
  for the response.