Properly handle application exit on logout