The threat of war and the tasks of the working class