Just millimetres from disaster