Maybe we can store the xapi session in a variable once and then use the variable.