A neater way of waiting for all users to logout