Fixed race condition with abruptly starting/stopping containers