Dockerd running at very high CPU utilization and unresponsive

Hi All.

I occasionally experience a problem that container marked for autorestart=always is trying to restart when application inside dies and that leads to (or at least corrected with) dockerd just sitting there running CPU at around 200%. In this situation dockerd is essentially dead and I cannot get in into any other containers that are also running in the same host. So, the question is what dockerd is doing in this situation and why? And another question is how to alleviate this problem?

Perhaps this question was already asked before in which case I apologize.

DP.