Just four days before Yugoslavia 's wars began in June 1991 , the American Secretary of State , James Baker , was in Belgrade focused on the impossible task of stopping Slovenian and Croatian secession when he should have been trying to prevent the shooting .