Hi - You have the authority to call off the game if you feel it would endanger the players, so you did the right thing... Its your final decision as the Match Official.
As a note, you do not need to consult with the managers on such matter, because as you say, they would always want to play on...