ansible-connection not released and high CPU usage

Hello

I do use Ansible 2.4 to manage 300 cisco switches.

4 ansible connections are stuck at every run.

`
USER %CPU %MEM STAT START TIME COMMAND
me 99.5 0.1 R 12:01 223:06 /usr/bin/python /usr/bin/ansible-connection
me 99.4 0.1 R 12:01 222:47 /usr/bin/python /usr/bin/ansible-connection
me 99.6 0.1 R 12:07 217:17 /usr/bin/python /usr/bin/ansible-connection
me 99.5 0.1 R 12:07 217:09 /usr/bin/python /usr/bin/ansible-connection

`

The ansible log tells me which hosts are causing the problem but none is said about the reason that keeps the ansible-connection up and why it takes 100% CPU.

Any idea ?

The playbooks are just a sequence of ios_command tasks followed by a serialization of the results.

`