When stopping or destroying a container, all the resources are cleaned up properly.