code: private void stopTask(ThreadContextDescriptor raThreadContextDescriptor, ArrayList<ThreadContext> threadContext) {
          if (raThreadContextDescriptor != null)
              raThreadContextDescriptor.taskStopping(threadContext);
      }
docs: Stop the resource adapter context descriptor task if one was started.
  
  @param raThreadContextDescriptor
  @param threadContext