Hello,
I know this is a problem of Jessie but i want to inform you about it:
If you shutdown or reboot Jessie the ssh connection isn't terminated by systemd, so the ssh client won't close until it runs into a timeout.
If you would install default libpam-systemd and dbus, systemd can terminate all user logins inclusive the ssh connection.
Thanks & Greetz
Wastez