Importing ExitStack and nested