Ensure container is stopped before a snapshot is taken