Fix removing of cgroups if something still alive in container

Now we try to remove cgroups 5 times with increased delay between
tries.
I tried with docker and this fixed docker/docker#9699 for me.