Add ExitStack since 2.6 doesn't support "with A() as B, C() as D: pass".