Make checking of running container optional.