wrap $cart->set_sessions_id(undef) in try/catch during logout