Stationmaster’s quick thinking averts train mishap near Prayagraj