Open and Close WinRM shells with each task?

We have noticed as we develop more and more complex plays that our Tower connections to inventory seem to be open/closed per task.

Is this “by design”?

What, if any, options can we specify to afford fewer WinRM sessions per task/play/role, etc?

-T

It is mostly by design as that’s how the connection plugins are initialised. Each connection plugin is created post fork for each task executed which means we need to open a WinRM shell then close it for every task.

We’ve been toying with the idea of connection persistence for a while but nothing has come out of it so far. Potentially a change in the future but there are no guarantees.

Thanks

Jordan