A goods train's loco-pilot successfully applied emergency brakes after spotting a gas cylinder on the tracks near Uttar Pradesh's Prempur station, averting a potential disaster.