O. Henry (not the candy bar) by VaccaD

Question 7

In the O. Henry story "A Retrieved Reformation", small-town shoemaker Ralph Spencer reveals he's actually the criminal Jimmy Valentine. WHAT SPECIFIC CRIMINAL CAREER did Jimmy Valentine walk away from, which proved essential in keeping his fiancee's niece Agatha from dying of asphyxiation?