Added close session to PAM module