start: ensure cgroups are cleaned up
start: ensure cgroups are cleaned up

When a container is marked as being in STOPPED state it is possible for another
thread to start it again even though not all cleanup operations for that
container have finished. This is not a problem for most things like sockets and
friends which are unique to the container. It is however a problem for cgroups
which are named after that container in that we cause our cgroup driver to
waste cpu cycles finding a new cgroup name.

Closes  #1726.

Signed-off-by: Christian Brauner <48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com>

thmo/lxc,ss1h2a3tw/lxc,caglar10ur/lxc,federicobriata/lxc,ss1h2a3tw/lxc,terceiro/lxc,caglar10ur/lxc,terceiro/lxc,thmo/lxc,caglar10ur/lxc,hallyn/lxc,thmo/lxc,federicobriata/lxc,terceiro/lxc,federicobriata/lxc,ss1h2a3tw/lxc,hallyn/lxc,hallyn/lxc