code: public void raInactive() {
          this.isActive = false;
          activities.clear();
          activities = null;
          try {
              if (httpAsyncClient instanceof  CloseableHttpAsyncClient) {
                  ((CloseableHttpAsyncClient) httpAsyncClient).close();
              }
  
  
          } catch (IOException e) {
              tracer.severe("Failed to complete http client shutdown", e);
          }
          this.httpAsyncClient = null;
      }
docs: /*
  (non-Javadoc)
  
  @see javax.slee.resource.ResourceAdaptor#raInactive()