SLIDER-201 make test teardown more resilient