I added this because I was getting timeouts on the self.wait_for_logout_button().  It seems that marionette was clicking on the logout button before the persona UI was completely closed.