The contact surface area of a steel wheel on a rail is about the size of a dime. That's what you have to work with to stop the train.
This is what antilock Brakes in cars prevent, they pulse the brakes to allow the tire to regain traction, preventing slippage and loss of control.