Interrupt the UP thread at shutdown
Improve the logout process