Instead of doing logout() and the cleanup, can we just make a new Client() object every time through the loop?