Prompt action by workers helped avert a major mishap