@Override
  public synchronized void close() throws IOException {
    // this be true but just for safety...
    if (iamCredentialsProvider != null) {
      iamCredentialsProvider.close();
    }
  }
@Test
  public void testIAMInstanceCredentialsProviderClose() throws Throwable {
    new IAMInstanceCredentialsProvider().close();
  }