The problem with pam is visible with systemd, which change some default. Now is after pam_close_session closed all jobs, which will terminate all at jobs. rhbz#812682