code: protected Client getClientInternal(String idx) {
          Client client;
          synchronized (mutex) {
              client = (Client) getMap().get(idx);
          }
          return client;
      }
docs: Gets the client and returns it.
  @param apiKey