The voltmeter has a very high resistance (to stop current flowing). If a current was allowed to flow, too much of a redox reaction would occur. An equilibrium would then be reached as the concentrations of reactants and products reach a point where both electrodes would have the same potential. Thus there's no potential difference which leads to a voltage of 0V.