Containers that fail immediately but exit with code 0 should be detected as failed instead of being treated as successful.
Right now they are not being treated as successful either, but the system just waits indefinitely with no clear indication of what is happening.