PAM connection is not terminated if SSH connection is terminated before password validated.
vulners.com/securityvulns/securityvulns:doc:11639