Waiting also if the container is stopped