Train services had to be stopped