private void cleanClientAuths() {
    synchronized (clientUserAuthsLock) {
      // single user case -- old security
      if (postAuthzCallback != null) {
        postAuthzCallback.close();
        postAuthzCallback = null;
      }
      // single user case -- integrated security
      // connection is closed, so we can log out this subject
      else if (subject != null) {
        secureLogger.debug("CacheClientProxy.close, logging out {}. ", subject.getPrincipal());
        subject.logout();
        subject = null;
      }
      // for multiUser case, in non-durable case, we are closing the connection
      else if (clientUserAuths != null) {
        secureLogger.debug("CacheClientProxy.close, cleanup all client subjects. ");
        clientUserAuths.cleanup(true);
        clientUserAuths = null;
      }
    }
  }
Close the <code>CacheClientProxy</code>.

@param checkQueue Whether to message check the queue and process any contained messages (up to
       MAXIMUM_SHUTDOWN_PEEKS).
@param stoppedNormally Whether client stopped normally

@return whether to keep this <code>CacheClientProxy</code>
@see CacheClientProxy#MAXIMUM_SHUTDOWN_PEEKS
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java