fixing tests
mitigating against redundant/late session closing
Merge pull request #2624 from sebv/master

Fixing remaining ios71 tests
ci selendroid branch for build #4496.4