The British prime minister was worried that an overreaction to the outbreak could do more harm than good.