What if the Russo-Japanese war was a stalemate?

I'm working on a timeline where Japan is slightly less industrialized, to the point where it would have just barely lost the Russo-Japanese war, but Japan has a larger & younger population that partially makes up for it, to the extent that they are able to make the war inconclusive.